package TransactionImplementation

//更改直接事务
//引入类
import (
	"SalaryPayment/AbstractTransaction"
	"SalaryPayment/Model"
	"SalaryPayment/ModelImplementation"
)

//结构体
type ChangeDirectTransaction struct {
	AbstractTransaction.ChangeMethodTransaction
	itsBank    string
	itsAccount string
}

//付款方法
func (c *ChangeDirectTransaction) GetMethod() Model.PaymentMethod {
	//返回直接模式
	return ModelImplementation.NewDirectMethod(c.itsBank, c.itsAccount)
}
